Add a missing #!/bin/sh to one test
authorSimon McVittie <smcv@debian.org>
Sat, 19 Mar 2016 17:56:15 +0000 (17:56 +0000)
committerSimon McVittie <smcv@debian.org>
Sat, 19 Mar 2016 17:56:15 +0000 (17:56 +0000)
debian/changelog
debian/patches/series
debian/patches/tests-admin-test.sh-add-bin-sh.patch [new file with mode: 0644]

index 7ce8f80c57a62f1ec533f2652bc62471c0c9bba4..890509505384d2ebca066abe844b8b355f57e4c2 100644 (file)
@@ -36,6 +36,7 @@ ostree (2016.3-1) UNRELEASED; urgency=medium
     for example if it is on tmpfs
   * Stop dh_makeshlibs thinking that the LD_PRELOAD module libreaddir-rand.so
     (part of the tests) is meant to be a shared library
+  * Add a missing #!/bin/sh to one test
 
  -- Simon McVittie <smcv@debian.org>  Wed, 27 Jan 2016 13:04:34 +0100
 
index fc4d01cbce56a96944ab9d6bd8738cdc91ab7081..9847c6f32d346ab0e1da6ecc0535c4ee2bb88c3c 100644 (file)
@@ -1,2 +1,3 @@
 test-libarchive-fix-underlinking.patch
 Skip-test_libarchive_ignore_device_file-if-we-cannot-writ.patch
+tests-admin-test.sh-add-bin-sh.patch
diff --git a/debian/patches/tests-admin-test.sh-add-bin-sh.patch b/debian/patches/tests-admin-test.sh-add-bin-sh.patch
new file mode 100644 (file)
index 0000000..d8f3b99
--- /dev/null
@@ -0,0 +1,20 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Sat, 19 Mar 2016 17:54:38 +0000
+Subject: tests/admin-test.sh: add #!/bin/sh
+
+This is executable and appears to be intended to be executed directly,
+so it should have a #! line.
+---
+ tests/admin-test.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/admin-test.sh b/tests/admin-test.sh
+index c4644d3..531cf99 100755
+--- a/tests/admin-test.sh
++++ b/tests/admin-test.sh
+@@ -1,4 +1,4 @@
+-#
++#!/bin/sh
+ # Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
+ #
+ # This library is free software; you can redistribute it and/or